package task12;

public class Test2 {
    public static void main(String[] args) {
        int day=1;
        float money=2.5f;

        while (money<100){
            money=money+2.5f;
            day++;
            if(day%5==0){
                money=money-6;
            }
        }
        System.out.println("第"+day+"天，存了"+money);
    }
}
